﻿@model IEnumerable<Category>
@using System.Web.Mvc.Html
<div>
@foreach( var category in Model) { 
    <div>
    @Html.RouteLink(category.Name, "ViewCategory", new { name = category.Name })
    </div>
} 
</div>
